package cn.heycm.blog.startup;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动类
 *
 * @author hey
 * @version 1.0
 * @since 2024/9/15 18:06
 */
@SpringBootApplication
@ComponentScan(basePackages = {"cn.heycm"})
@MapperScan(basePackages = {"cn.heycm.blog.*.infra.dao.*.mapper"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
